package com.ffcs.cn.action.desktopcontrol.smdialoginput;

import com.supermap.desktop.controls.dialog.SmDialogInput;
import com.supermap.desktop.core.Interface.IBaseItem;
import com.supermap.desktop.core.implement.CtrlAction;

/**
 * 输入信息的对话框
 *
  */
public class CtrlActionSmDialogInput extends CtrlAction {
	public CtrlActionSmDialogInput(IBaseItem caller) {
		super(caller);
	}

	@Override
	public void run() {
		SmDialogInput smDialogInput = new SmDialogInput();
		smDialogInput.setTitle("输入信息的对话框");
		smDialogInput.setLabelDescription("地址:");
		smDialogInput.setDefaultValue("https://www.supermap.com");
		smDialogInput.showDialog();
	}
}
